<template>
  <div>
      <head-top :left-router="leftRouter"
                title="出单"></head-top>
      <order-edit></order-edit>
  </div>
</template>

<script>
import HeadTop from "@/components/HeadTop"
import OrderEdit from "@/components/order/edit";
export default {
  components: {
    OrderEdit,
    HeadTop,
  },
  name: "OrderViewAdd",
  data() {
    return {
      leftRouter: this.GLOBAL.pathSetting.order.main + '?tab=' + this.GLOBAL.listItemType.order.payment
    };
  },
  mounted() {
    if (this.$route.query.srcUrl) {
      this.leftRouter = this.$route.query.srcUrl
    }
  },
  methods: {
    onSwiperRight() {
      this.$router.go(-1)
    }
  }
};
</script>
<style scoped>
</style>
<style>

</style>